package br.com.strings_serializacao;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class ExemploFile3 {
	public static void main(String[] args) {
		File f = new File(".txt");
		try{
			f.createNewFile();
			System.out.println(f.isFile());
			System.out.println(f.getAbsolutePath());
			FileWriter fw = new FileWriter(f);
			fw.write("Teste");
			fw.flush();
			fw.close();
		}catch(IOException e){}
	}

}
